package org.net.cms.service.application;

import org.net.cms.controller.app.application.vo.AppApplicationReqVO;
import org.net.cms.dao.ApplicationDto;

import javax.swing.text.StyledEditorKit;
import java.util.List;

public interface ApplicationService {

    ApplicationDto getApplication(int id);

    List<ApplicationDto> applicationList(int type);

    // 获取该用户的审核申请列表
    List<ApplicationDto> getMyApplications(String phone);

    // 判断账号申请的状态到达哪一步了
    int checkStatus(String studentCardId);

    // 申请
    Boolean admissionApplication(AppApplicationReqVO studentReqVO);

    // 审核申请
    Boolean checkApplication(int id, int status);

    // 删除审核
    Boolean deleteApplication(int id);

    // 获取解绑列表
    List<ApplicationDto> getUnbindList(int type);

    // 修改解绑审核状态
    Boolean updateUnbindStatus(int id, int status);
}
